//---------------------------------------------------------------------------

#ifndef Unit_caddisciplinasH
#define Unit_caddisciplinasH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <Mask.hpp>

//---------------------------------------------------------------------------
class TFmCadDisciplinas : public TForm
{
__published:	// IDE-managed Components
        TPanel *PanelBotoes;
        TLabel *Label1;
        TBitBtn *BtnNovo;
        TBitBtn *BtnVoltar;
        TPanel *PanelEdicao;
        TLabeledEdit *EdNomeDis;
        TLabel *Label2;
        TEdit *EdCodigo;
        TLabeledEdit *EdProfessor;
        TRadioGroup *RGPeriodo;
        TLabeledEdit *EdNumAulas;
        TPanel *PanelBotoes2;
        TBitBtn *BtnCancelar;
        TBitBtn *BtnInserir;
        TBitBtn *BtnLimpar;
        TMaskEdit *EdInicio;
        TMaskEdit *EdTermino;
        TLabel *Label3;
        TLabel *Label4;
        void __fastcall BtnNovoClick(TObject *Sender);
        void __fastcall BtnInserirClick(TObject *Sender);
        void __fastcall BtnCancelarClick(TObject *Sender);
        void __fastcall BtnVoltarClick(TObject *Sender);
        void __fastcall BtnLimparClick(TObject *Sender);
        void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
        void __fastcall FormShow(TObject *Sender);
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
private:	// User declarations
  FILE *caddis;
public:		// User declarations
        __fastcall TFmCadDisciplinas(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFmCadDisciplinas *FmCadDisciplinas;
//---------------------------------------------------------------------------
#endif
